package com.example.logistics_oa.dubbo;

import com.example.comment_oa.dubbo.SalaryZhuBiaoDubbo;
import com.example.comment_oa.pojos.xinzi.ShsalaryZhubiao;
import com.example.logistics_oa.service.FlApplyzhuService;
import com.example.logistics_oa.service.ShsalaryZhubiaoService;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;
import java.util.List;


@DubboService(version = "1.0.0",protocol = "${dubbo.protocol.id}",
        application = "${dubbo.application.id}",registry = "${dubbo.registry.id}",
        timeout = 3000)
public class SalaryZhuBiaoImpl implements SalaryZhuBiaoDubbo {

    @Resource
    ShsalaryZhubiaoService shsalaryZhubiaoService;

    @Override
    public List<ShsalaryZhubiao> sleectZhuJian(String srId) {
        return shsalaryZhubiaoService.selectId(srId);
    }

    @Override
    public int insertAll(ShsalaryZhubiao shsalaryZhubiao) {
        return shsalaryZhubiaoService.insertAll(shsalaryZhubiao);
    }
}
